MailPoet\Config\Migrator C

Total Complexity 101
Dependencies 14
Dependents 3
Total lines 998
Lines of code 866
Logical lines of code 253
Comment lines 54
Methods 49
Properties 5

Methods 49

Method Rating Maintainability Complexity Lines of code
migrateEmailActionsFilters()
B
40 17 57
migrateWooSubscriptionsDynamicFilters()
A
48 7 32
migratePurchasedInCategoryDynamicFilters()
A
48 7 32
migratePurchasedProductDynamicFilters()
A
48 7 32
migrateSerializedFilterDataToNewColumns()
S
51 7 25
removeDeprecatedStatisticsIndexes()
S
51 4 28
fixScheduledTasksSubscribersTimestampColumns()
S
53 3 25
__construct()
S
47 1 42
updateDefaultInactiveSubscriberTimeRange()
S
61 3 12
subscribers()
S
48 1 38
up()
S
55 2 21
setDefaultValueForLoadingThirdPartyLibrariesForExistingInstalls()
S
63 3 10
updateNullInUnsubscribeStats()
S
59 2 14
newsletters()
S
53 1 26
sendingQueues()
S
56 1 21
scheduledTasks()
S
56 1 20
statisticsWoocommercePurchases()
S
56 1 20
statisticsClicks()
S
57 1 19
statisticsOpens()
S
58 1 18
segments()
S
58 1 17
newsletterTemplates()
S
58 1 17
newsletterLinks()
S
59 1 16
statisticsUnsubscribes()
S
59 1 16
disableMailPoetCronTrigger()
S
68 2 7
forms()
S
60 1 15
dynamicSegmentFilters()
S
61 1 14
subscriberSegment()
S
60 1 14
scheduledTaskSubscribers()
S
61 1 14
statisticsNewsletters()
S
62 1 13
subscriberCustomField()
S
62 1 13
customFields()
S
62 1 13
userFlags()
S
62 1 13
newsletterOption()
S
62 1 13
subscriberTag()
S
62 1 13
statsNotifications()
S
62 1 13
settings()
S
63 1 12
newsletterPosts()
S
63 1 12
featureFlags()
S
63 1 12
newsletterSegment()
S
63 1 12
tags()
S
63 1 12
newsletterOptionFields()
S
63 1 12
mappingToExternalEntities()
S
64 1 11
userAgents()
S
64 1 11
log()
S
64 1 11
statisticsForms()
S
64 1 11
statisticsBounces()
S
64 1 11
sqlify()
S
65 1 8
subscriberIps()
S
66 1 9
down()
S
65 1 9